<?php

class Errors {
	
	protected static $errors = array();
	
	public static function addError($error) {
		self::$errors[] = $error;
	}
	
	public static function getErrors() {
		return self::$errors;
	}
}

?>